package com.czxy.demo01;


import org.springframework.stereotype.Component;

@Component
public class User {

    public  void  eat (String fname){

        System.out.println("吃");
    }

    public  void  sleep (){

        System.out.println("睡");
    }

    public  int count (){

        int a = 10+1;
        System.out.println( a);
        return  a;
    }
}
